import Vue from 'vue'
import App from './App.vue'
import router from './routers'
import settings from './settings'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import axios from 'axios'
// 允许发送Cookie ，需后端配合
axios.defaults.withCredentials = true
Vue.prototype.$axios = axios
Vue.prototype.$settings = settings
Vue.config.productionTip = false
Vue.use(ElementUI)
new Vue({
  el: '#app',
  router,
  render: h => h(App),
}).$mount('#app')
